<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>用户登陆系统</title>
  </head>
  <body>
 <%
	String msg=request.getParameter("code");
	if(msg!=null && msg.equals("1000")){
	%>
	<div>用户名或者密码不能为空！</div>
	<% 	}else if(msg!=null && msg.equals("1002")){
	%>
	<div>用户名或者密码错误！</div>
	<% 	
	}  	
   %>
  <h3>用户登陆</h3>
  <hr>
  <form action="login.jspx" method="post" name="loginForm">
  用户名：<input type="text" name="username"/><br>
  密码:<input type="password" name="password"/><br>
  <input type="submit" value="登陆">
  </form>
  </body>
</html>
